<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<div class="modal-dialog x-modal-dialog" style="width: 650px; margin-top: 100px;">

    <div class="modal-content">

        <div class="modal-header x-breadcrumb no-bottom-border clearfix">

            <h2>
                <i class="glyphicon glyphicon-fire" title="导出"></i>&nbsp;&nbsp;<span>销售订单&nbsp;-&nbsp;导出</span>
            </h2>

            <button type="button" class="close" data-dismiss="modal">&times;</button>

        </div>

        <form class="form-horizontal" method="GET" action="${ctx.host}/sales-orders/export" data-validate="true">
          <input type="hidden" name="paid" value="${paid}"/>

            <div class="modal-body">
              <div class="form-group x-form-group">
                <label class="col-xs-4 control-label">城市</label>
                <div class="col-xs-6" style="width: 50%;">
                  <select name="city" class="form-control select2">
                    <c:forEach var="city" items="${cities}">
                      <option value="${city}">${city}</option>
                    </c:forEach>
                  </select>
                </div>
              </div>
            </div>

            <div class="modal-footer">
                <button type="submit" class="btn btn-success btn-shadow btn-shadow-success x-btn">确定</button>
                &nbsp;&nbsp;&nbsp;&nbsp;
                <button type="button" class="btn btn-default btn-shadow btn-shadow-default x-btn" data-dismiss="modal">取消</button>
            </div>

        </form>

    </div>

</div>
